package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppIpAuthDao;
import com.vf.admin.client.service.AppIpAuthService;
import com.vf.admin.miaodong.entity.AppIpAuth;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>Title : </p>
 * <p>Description : </p>
 * <p>DevelopTools : IDEA</p>
 * <p>DevelopSystem : Windows11</p>
 *
 * @Author : zxw
 * @Date 2023/11/6 15:58
 */
@Service
public class AppIpAuthServiceImpl implements AppIpAuthService {

    @Resource
    private AppIpAuthDao appIpAuthDao;


    @Override
    public void save(AppIpAuth appIpAuth) {
        appIpAuthDao.save(appIpAuth);
    }

    @Override
    public AppIpAuth getAccount(String account) {
        return appIpAuthDao.getAccount(account);
    }

    @Override
    public AppIpAuth getIp(String ip) {
        return appIpAuthDao.getIp(ip);
    }

    @Override
    public List<AppIpAuth> getAccountList(String account) {
        return appIpAuthDao.getAccountList(account);
    }

    @Override
    public List<AppIpAuth> getIpList(String ipAddress) {
        return appIpAuthDao.getIpList(ipAddress);
    }
}
